home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 001a / com_and3.zip / BBS.DOC < prev    next >
Text File  |  1989-10-09  |  21KB  |  935 lines

  1. COM-AND Scripted BBS
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.           ------------------------------------------
  18.                 COM-AND Scripted BBS
  19.           Script based Bulletin Board for the IBM PC
  20.           ------------------------------------------
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.     COM-AND is distributed freely and may be copied by anyone for
  33.     any number of machines, for purposes of evaluation.  The author
  34.     offers COM-AND and its accessory programs as a package, as
  35.     "shareware".  If you USE the program a registration of $35.00 is
  36.     required.  The author may be reached:
  37.  
  38.  
  39.                  CABER Software
  40.                  R. (Scott) McGinnis
  41.                  P.O. Box 3607 Mdse Mart
  42.                  Chicago, IL 60654-0607
  43.  
  44.                  PLINK, GEnie id: TARTAN
  45.                  CID is: 73147,2665
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54. Version 1.0: 891009
  55.  
  56. COM-AND Scripted BBS
  57.  
  58.  
  59.                  Table of Contents
  60.                  -----------------
  61.  
  62. I.    Introduction  .............................................. page 1
  63.  
  64. II.    Installing the BBS ......................................... page 2
  65.  
  66. III.    Logon ...................................................... page 3
  67.  
  68. IV.    Bulletins .................................................. page 4
  69.  
  70. V.    Mail ....................................................... page 5
  71.  
  72. VI.    Files (Upload and Download) ................................ page 6
  73.  
  74. VII.    Chat mode .................................................. page 7
  75.  
  76. VIII.    Privileged commands ........................................ page 8
  77.  
  78. IX.    Program Requirements ....................................... page 9
  79.  
  80. X.    Program and Author Information    ............................ page 10
  81.  
  82.  
  83.                 Appendices
  84.                 ----------
  85.  
  86.  
  87. A.    Required and optional files ................................ page 11
  88.  
  89. B.    File structures ............................................ page 12
  90.  
  91. C.    Maintenance ................................................ page 13
  92.  
  93. D.    Modem configuration ........................................ page 14
  94.  
  95. E.    Sample files ............................................... page 15
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109. Version 1.0: 891009
  110.  
  111. COM-AND Scripted BBS                             Page   1
  112.  
  113.  
  114. I.    Introduction
  115.  
  116.  
  117.     A. What is COM-AND?
  118.  
  119.  
  120.        COM-AND for the IBM PC and compatibles is a communications
  121.        program that may be used by itself, or with several integrated
  122.        accessory programs (which themselves may be used independently of
  123.        COM-AND).  COM-AND provides standard comm program functions:  a
  124.        dialing directory, macros, disc logging, binary and ASCII file
  125.        transfers, scripted execution and so on.
  126.  
  127.     B. The BBS script
  128.  
  129.        This document details the BBS script provided with version 2.5 of
  130.        COM-AND.  The BBS script supports
  131.  
  132.        o    300/1200/2400 baud autoanswer
  133.  
  134.        o    Reliable use whether the modem reports true CD or no
  135.  
  136.        o    Access by ID and password
  137.         .. SYSOP must post ID and password to grant access
  138.         .. the BBS supports a 'registration' function which could
  139.            automatically post a new ID/password, but does not now
  140.         .. two privilege levels
  141.         .. time limit for non privileged
  142.  
  143.        o    Comments to SYSOP from callers
  144.  
  145.        o    SYSOP posted bulletins
  146.  
  147.        o    Public and private mail
  148.  
  149.        o    File upload and download
  150.         .. WXMODEM, XMODEM,YMODEM and KERMIT
  151.         .. Uploads are not included in time limit computation
  152.  
  153.        o    SYSOP-to-caller chat mode (initiated by SYSOP)
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164. Version 1.0: 891009
  165.  
  166. COM-AND Scripted BBS                             Page   2
  167.  
  168.  
  169. II.    Installation
  170.  
  171.  
  172.     A. Create a subdirectory \BBS
  173.  
  174.        The only file required in this subdirectory is BBS-User, which
  175.        specifies IDs and passwords for callers.  Modify the supplied
  176.        BBS-User file with any ASCII text editor (ASCII files are also
  177.        known as non-document format).
  178.  
  179.     B. Create a subdirectory \BBS\FILES
  180.  
  181.        On this subdirectory, the file BBS-FILE contains a list of files
  182.        available for downloading, and newly uploaded.  If BBS-FILE does
  183.        not exit, the script will create it.
  184.  
  185.        Uploads are appended to the end of this file.  I recommend that
  186.        the new SYSOP initially create a BBS-FILE in this subdirectory.
  187.        It contains comments indicating new uploads.
  188.  
  189.        The script will create this file if it does not exist.
  190.  
  191.     C. Create a subdirectory \BBS\MAIL
  192.  
  193.        On this subdirectory, the script expects to find the file
  194.        BBS-MAIL.  This file is used to scan, read and list messages.
  195.        Entries in this file point to single files, each of which
  196.        represents a single message.
  197.  
  198.        The script will create this file if it does not exist.
  199.  
  200.     D. Create a subdirectory \BBS\BULLETIN
  201.  
  202.        On this subdirectory, the script expects to find the file
  203.        BBS-BULL.  This file is used to list and to read bulletins.
  204.        Entries in this file point to single files, each of which
  205.        represents a single bulletin.
  206.  
  207.        The script will create this file if it does not exist.
  208.  
  209.     E. To start, type:
  210.  
  211.        "d"> COM-AND/fBBS-SRC (from anywhere)
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219. Version 1.0: 891009
  220.  
  221. COM-AND Scripted BBS                             Page   3
  222.  
  223.  
  224. III.    Logon
  225.  
  226.  
  227.     Callers to this BBS must be identified through and ID and password
  228.     in the BBS-User file.  The posting if IDs and passwords is a manual
  229.     process at this time.
  230.  
  231.     New callers may 'register'... their name/address/telephone and
  232.     requested ID/password are logged to the BBS-NOTE file for SYSOp
  233.     review.
  234.  
  235.     Two privilege levels are supported at this time.  Non-privileged
  236.     callers are granted 60 minutes of connect time per call.  Privileged
  237.     users are granted unlimited connect.  Note that non-privileged
  238.     callers may call back.    The BBS does not record time used accross a
  239.     day.
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274. Version 1.0: 891009
  275.  
  276. COM-AND Scripted BBS                             Page   4
  277.  
  278.  
  279. IV.    Bulletins
  280.  
  281.  
  282.     The B)ulletin submenu supports the following user commands:
  283.  
  284.     o    L)ist        List available bulletins
  285.     o    #        Read a specific bulletin
  286.  
  287.  
  288.     The list of available bulletins is taken from the file BBS-BULL.
  289.     Comments in the file are not printed for the caller to see.
  290.     Bulletin numbers may be arbitrarily assigned, and certain bulletins
  291.     may be restricted to privileged callers only.
  292.  
  293.  
  294.     The caller selects a bulletin number to view from the list supplied.
  295.     The bulletin is transferred using an ASCII send function:  control-
  296.     S and control-Q may be used to suspend the transfer.
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329. Version 1.0: 891009
  330.  
  331. COM-AND Scripted BBS                             Page   5
  332.  
  333.  
  334. V.    Mail
  335.  
  336.  
  337.     The M)ail submenu supports the following user commands:
  338.  
  339.     o    S)can        Scan postings for mail 'to' the caller
  340.     o    L)ist        List mail (to,from,date,subject)
  341.     o    R)ead        Read mail (to caller, and public posts)
  342.     o    W)rite        Write a message (public or private)
  343.  
  344.     This script does not support editing of postings at this time.
  345.  
  346.  
  347.     The list of pending mail is taken from the file BBS-MAIL.  Comments
  348.     in the file are not printed for the caller to see.  Mail is only
  349.     readable sequentially (at this time).  Mail is marked 'private' to
  350.     receiver when it is created.
  351.  
  352.  
  353.     The mail file is not automatically purged of entries older than a
  354.     given date.  Such a script would be easily written - at this time
  355.     however, its a manual task.
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384. Version 1.0: 891009
  385.  
  386. COM-AND Scripted BBS                             Page   6
  387.  
  388.  
  389. VI.    Files (download and Upload)
  390.  
  391.     The F)iles submenu supports the following user commands:
  392.  
  393.     o    L)ist        List available files
  394.     o    S)earch     Search the file list for a substring
  395.     o    U)pload     Upload a file (to the board)
  396.     o    D)ownload    Download a file (from the board)
  397.  
  398.     Files may be uploaded and downloaded from this script using:
  399.  
  400.     o    WXMODEM (Windowed XMODEM)
  401.     o    XMODEM (CRC or checksum)
  402.     o    YMODEM (CRC or checksum)
  403.     o    KERMIT (Windowed or plain)
  404.  
  405.     Non-privileged callers are not allowed to upload files that
  406.     duplicate files on the \BBS\Files subdirectory.
  407.  
  408.     Non-privileged callers are limited to downloading files on the
  409.     \BBS\Files subdirectory (not necessarily all listed in the file
  410.     BBS-FILE).
  411.  
  412.     Privileged callers may upload/download to/from any accessible disc
  413.     device and subdirectory.
  414.  
  415.     Uploads are noted in the \BBS-FILE file with a caller supplied
  416.     description.
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439. Version 1.0: 891009
  440.  
  441. COM-AND Scripted BBS                             Page   7
  442.  
  443.  
  444. VII.    Chat with SYSOP
  445.  
  446.  
  447.     The A)larm command at the main prompt sounds a tune on the local
  448.     console's speaker.  If the SYSOP wishes to respond the SYSOP may
  449.     interrupt the caller (whether the ALARM has been used or no) with
  450.     the ESCape key.
  451.  
  452.  
  453.     Pressing the ESCape key during the script's operation will interrupt
  454.     the script - however, the caller is not disconnected immediately.
  455.     The SYSOP may choose to terminate the script (in which case a HANGUP
  456.     is performed).    The SYSOP may alternately choose to CHAT with the
  457.     caller.
  458.  
  459.  
  460.     When the SYSOP chooses CHAT, the caller is informed of operator
  461.     intervention.  The SYSOP is prompted for a line of text (blank lines
  462.     entered by the SYSOP result in a query: "Continue" and are the means
  463.     for termination of the CHAT).  When the SYSOP presses CR, any text
  464.     is sent to the caller and the caller is prompted for text.  The chat
  465.     continues back and forth, one line at a time, until the caller
  466.     disconnects or the SYSOP terminates the chat.
  467.  
  468.  
  469.     At this time, time spent in CHAT is not added back to the caller's
  470.     total time alotment.
  471.  
  472.  
  473.  
  474.  
  475.  
  476.  
  477.  
  478.  
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486.  
  487.  
  488.  
  489.  
  490.  
  491.  
  492.  
  493.  
  494. Version 1.0: 891009
  495.  
  496. COM-AND Scripted BBS                             Page   8
  497.  
  498.  
  499. VIII.    Privileged access
  500.  
  501.  
  502.     Users flagged in the BBS-User file with privileged access are
  503.     allowed an additional main prompt command ("P").  The "Privilege"
  504.     command gives access to a submenu with the commands:
  505.  
  506.     o    L)ist       performs a DIR on the current subdirectory
  507.  
  508.     o    S)ubdir    changes the current drive:subdirectory
  509.  
  510.     o    P)ath       provides a graphics display of the tree structure
  511.                of the current default disc (required the P/d
  512.                utility TREED.COM)
  513.  
  514.     o    D)os       performs a DOS command
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.  
  548.  
  549. Version 1.0: 891009
  550.  
  551. COM-AND Scripted BBS                             Page   9
  552.  
  553.  
  554. IX.    Program requirements
  555.  
  556.  
  557.     This program can only function on an IBM PC or DOS compatible
  558.     machine.  COM-AND does direct to screen buffer fetches and stores
  559.     (unless BIOS screen updates are directed using the /C switch or the
  560.     Alt-O options menu).
  561.  
  562.  
  563.     COM-AND is TopView aware even without the /C switch or Alt-O option.
  564.  
  565.  
  566.     COM-AND supports MDA, CGA, EGA and Hercules.  COM-AND uses a Micro-
  567.     soft Mouse if one is available...
  568.  
  569.  
  570.     COM-AND disk I/O is done through the 'Handle' oriented I/O routines
  571.     added to DOS 2.0.  Therefore DOS 2.0 is a minimum requirement.
  572.  
  573.  
  574.     COM-AND (Version 2.5) requires 248K for itself.  You need 384K to
  575.     take advantage of the DOS Gateway and to load accessories.
  576.  
  577.  
  578.     This script requires a 300, 1200 or 2400 baud modem.  [Others could
  579.     be supported with modification to the script.]    This script is most
  580.     reliable if the modem is set to report true CD.
  581.  
  582.  
  583.     And of course, for a Bulletin Board, you need a lot of disc
  584.     freespace!
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604. Version 1.0: 891009
  605.  
  606. COM-AND Scripted BBS                             Page  10
  607.  
  608.  
  609. X.    Author information
  610.  
  611.  
  612.     COM-AND was written using Microsoft Macro-Assembler.  The
  613.     author likes assembler.  Assembly language is an entirely
  614.     appropriate vehicle for some of the program, and a not-inappro-
  615.     priate vehicle for the rest of it.  Everything, in moderation...
  616.  
  617.  
  618.     The author of this program is R. Scott McGinnis of Chicago,
  619.     Illinois.  PLINK and GEnie ID:    TARTAN.  Comment and suggestions
  620.     (and criticism in moderation) are welcomed:
  621.  
  622.              CABER Software
  623.              R. (Scott) McGinnis
  624.              P.O. Box 3607 Mdse Mart
  625.              Chicago, IL 60654-0607
  626.  
  627.  
  628.     I want to thank Mike Todd (SYSOP of the IBM PC SIG on the SOURCE)
  629.     and John Poindexter for their valuable comments and gripes on the
  630.     2.1 version of COM-AND script language.  This BBS script was in
  631.     fact created to test the script changes made for version 2.2.
  632.  
  633.  
  634.     I also thank my wife, Elizabeth, who laughs when I laugh (and smiles
  635.     almost always, regardless).
  636.  
  637.  
  638.     This script (Version 1.0) may be distributed freely (but it isn't a
  639.     whole lot of use without COM-AND).  Any improvements that are
  640.     returned to the author will get attention...  errors reported to the
  641.     author will be corrected.  COM-AND is shareware.  If COM-AND is USED
  642.     after a reasonable period of evaluation, a registration of $35.00 is
  643.     required.
  644.  
  645.  
  646.     Most of the hardware names and software names in this document are
  647.     trademarks or trade names of specific manufacturers.
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659. Version 1.0: 891009
  660.  
  661. COM-AND Scripted BBS                             Page  11
  662.  
  663.  
  664. A.    Required and optional files
  665.  
  666.     (1) Files in subdirectory \BBS
  667.  
  668.         BBS-USER            ID/Password file (required)
  669.         BBS-NOTE            Comments/registrations - created if D.N.E
  670.         BBS-LOG            Log of usage - created if D.N.E
  671.  
  672.     (2) Optional Files in subdirectory \BBS
  673.  
  674.         BBS-Welc            Welcome message
  675.         BBS-NpMe            Non-privileged user main menu
  676.         BBS-PrMe            Privileged user main menu
  677.         BBS-PpMe            Privileged user privileged submenu
  678.         BBS-NoMe            Message displayed when NOTE requested
  679.         BBS-ReMe            Message displayed when REGISTER requested
  680.         BBS-FiMe            All users: files submenu
  681.         BBS-MeMe            All users: mail submenu
  682.         BBS-BuMe            All users: bulletins submenu
  683.  
  684.     (3) Optional files in subdirectory \BBS\Mail
  685.  
  686.         BBS-MAIL            Points to existing and deleted messages
  687.  
  688.     (4) Optional files in subdirectory \BBS\Files
  689.  
  690.         BBS-FILE            Points to files uploaded and downloadable
  691.  
  692.     (5) Optional files in subdirectory \BBS\Bulletin
  693.  
  694.         BBS-BULL            Points to available bulletins
  695.  
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714. Version 1.0: 891009                           Appendices
  715.  
  716. COM-AND Scripted BBS                             Page  12
  717.  
  718.  
  719. B.    File Structures
  720.  
  721.  
  722.     (1) \BBS\BBS-User             (User IDs/passwords)
  723.  
  724.         The BBS-User file is structured:
  725.  
  726.         0          8     16 17
  727.         +---/ /---+---/ /---+--+---/ /---+---/ /---+---/ /---+
  728.         ! ID      ! Passwd    !  ! Comments             !
  729.         +---/ /---+---/ /---+--+---/ /---+---/ /---+---/ /---+
  730.                 ^Privilege flag = P
  731.  
  732.         "<" in column 1 indicates a comment line; comments ignored
  733.  
  734.     (2) \BBS\Mail\BBS-MAIL             (Mail items)
  735.  
  736.         The BBS-MAIL file is structured:
  737.  
  738.         0          8     16 17         25        38
  739.         +---/ /---+---/ /---+--+---/ /---+---/ /---+-------/ /--------+
  740.        ! To ID   ! From ID !  ! Date    ! Fname   ! Subject (40 char)!
  741.         +---/ /---+---/ /---+--+---/ /---+---/ /---+-------/ /--------+
  742.                  ^Privacy flag = P
  743.  
  744.         "*" in column 1 indicates a comment line; comments not printed
  745.  
  746.     (3) \BBS\Bulletin\BBS-BULL         (Bulletin items)
  747.  
  748.         The BBS-BULL file is structured:
  749.         0          5     13 14         26
  750.         +---/ /---+---/ /---+--+---/ /---+-------/ /--------+
  751.         ! Number  ! Date    !  ! Fname   ! Subject (40 char)!
  752.         +---/ /---+---/ /---+--+---/ /---+-------/ /--------+
  753.                   ^Privileged access if nonblank
  754.  
  755.         "*" in column 1 indicates a comment line; comments not printed
  756.  
  757.     (4) \BBS\File\BBS-FILE             (File items)
  758.  
  759.         The BBS-FILE file is structured:
  760.         0          13    20 21         28
  761.         +---/ /---+---/ /---+--+---/ /---+-------/ /--------+
  762.         ! Fname   ! Date    !  ! Size    ! Description    !
  763.         +---/ /---+---/ /---+--+---/ /---+-------/ /--------+
  764.                   ^ Privilege req'd if non-blank
  765.  
  766.         "*" in column 1 indicates a comment line; comments are printed
  767.  
  768.  
  769. Version 1.0: 891009                           Appendices
  770.  
  771. COM-AND Scripted BBS                             Page  13
  772.  
  773.  
  774. C.    Maintenance
  775.  
  776.  
  777.     (1) Registrations
  778.  
  779.         Registrations are not automatically entered into the BBS-User
  780.         file.  The registrations exist as comments in the BBS-NOTE file.
  781.         A registering user is asked for a password and an ID.  IDs
  782.         may not contain "."s, by the way.  The SYSOP must add a record
  783.         to the BBS-User file to activate the ID.
  784.  
  785.     (2) Mail
  786.  
  787.         The Mail routines depend on the file BBS-MAIL in the \BBS\Mail
  788.         subdirectory for finding messages.    The BBS does not update the
  789.         BBS-MAIL file upon deletion - the logic detects a deleted file
  790.         and skips the record.
  791.  
  792.         However, with many deleted mail messages, list, scan, and read
  793.         will slow down percetibly.    Records in BBS-MAIL pointing to
  794.         messages (files) which do not exist should be eliminated
  795.         regularly.
  796.  
  797.     (3) Bulletins
  798.  
  799.         If the file BBS-BULL does not exist on the subdirectory
  800.         \BBS\BULLETIN, the caller will be informed there are no bull-
  801.         etins.  BBS-BULL must be created to support the Bulletin
  802.         function.  Again, records in BBS-BULL that do not point to
  803.         existing text files are skipped by the logic.
  804.  
  805.     (4) Files (uploads and downloads)
  806.  
  807.         The file BBS-FILE in the subdirectory \BBS\FILES will be auto-
  808.         matically created upon the first upload.  However, comments in
  809.         this file are displayed and may be used for informational pur-
  810.         poses.  If you want these comments, they must be added manually.
  811.  
  812.         Uploads are always added at the end of the file.  They may be
  813.         moved.
  814.  
  815.  
  816.  
  817.  
  818.  
  819.  
  820.  
  821.  
  822.  
  823.  
  824. Version 1.0: 891009                           Appendices
  825.  
  826. COM-AND Scripted BBS                             Page  14
  827.  
  828.  
  829. D.    Modem Configuration
  830.  
  831.  
  832.     COM-AND default values do not require your modem to be configured
  833.     in any particular manner.  However, certain features cannot be used
  834.     unless you configure your modem before you use COM-AND.
  835.  
  836.  
  837.     1. DTR (Data Terminal Ready)
  838.  
  839.        COM-AND, by default, hangs up using the command sequences defined
  840.        through the Alt-S setup (hangup and modem escape).  However, you
  841.        may alternately select 'Drop DTR to hangup' through the Alt-O
  842.        options.  Dropping DTR is the only way to hangup certain modems,
  843.        and is generally much faster than the command sequences.
  844.  
  845.  
  846.        Most Hayes compatible modems allow configuration of the DTR sense
  847.        through a switch-block.  If you wish to use DTR to hangup, be sure
  848.        that your modem follows the DTR signal.  Refer to the documenta-
  849.        tion provided with your modem to be sure that option switches are
  850.        set appropriately.
  851.  
  852.  
  853.     2. CD (Carrier Detect)
  854.  
  855.        COM-AND (presently) uses the CD sense line for several purposes.
  856.        The 'CONNECTED' test supported in the script language, test for
  857.        carrier detect upon exit, and the file transfer protocols all
  858.        require that the modem report carrier detect.  True carrier detect
  859.        is the only way to determine if you are 'on-line' or 'off-line'.
  860.  
  861.  
  862.        Many Hayes compatible modems are sold with a carrier detect
  863.        override (in other words the modem reports carrier detect all the
  864.        time).  When carrier detect is overridden, COM-AND cannot detect
  865.        when carrier is lost during a file transfer or whether to ask if
  866.        you want to hangup when you exit.
  867.  
  868.  
  869.        Be sure that the modem is reporting true CD (instead of it just
  870.        saying 'yes').  Most Hayes compatible modems allow configuration
  871.        of the CD sense through a switch-block.  Refer to the documenta-
  872.        tion provided with your modem to be sure that option switches are
  873.        set appropriately.
  874.  
  875.  
  876.  
  877.  
  878.  
  879. Version 1.0: 891009                           Appendices
  880.  
  881. COM-AND Scripted BBS                             Page  15
  882.  
  883.  
  884. D.    Sample files
  885.  
  886.  
  887.     1. BBS-USER
  888.        --------
  889.  
  890.     <------------------------------------------------------------------>
  891.     <    Comment entries begin '<'; Case is not signifigant in IDs
  892.     <    and passwords.    ID field begins in column 1.
  893.     <
  894.     <- ID ->< Pass >P<---------- Comments ----------------------------->
  895.     Scott    xxxxxxxxP
  896.  
  897.     2. BBS-BULL
  898.        --------
  899.  
  900.     ********************************************************************
  901.     *    Comment entries begin '*'; Each entry points to a file (nnn).
  902.     *    Each entry is numbered explicitly (###).
  903.     *
  904.     *####ddddddddfnnnnnnnnnnnnddddddddddddddddddddddddddddddddddddddddd*
  905.     ********************************************************************
  906.     1     4/05/88 BULL.1      ISENGARD BBS's ANSI display
  907.  
  908.     3. BBS-MAIL (created automatically)
  909.        --------
  910.  
  911.     ALL    SCOTT      4/06/88ALL.1          This board
  912.  
  913.     4. BBS-FILE (created automatically, but nice to post initially)
  914.        --------
  915.  
  916.     *
  917.     *    Board related files
  918.     *
  919.     BBS-SRC.CMD   4/05/88        Source code for this BBS
  920.     *
  921.     *    Uploads
  922.     *
  923.  
  924.  
  925.  
  926.  
  927.  
  928.  
  929.  
  930.  
  931.  
  932.  
  933.  
  934. Version 1.0: 891009                           Appendices
  935.